.console {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;

  &__btn-back {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: auto;
    padding: rem(4) rem(16);
    color: var(--a-white);
    background-color: var(--a-bgAccent);
  }

  &__title {
    margin: rem(30) 0 rem(20) 0;
  }
  &__subtitle {
    margin: rem(20) 0 rem(10) 0;
  }

  &__section-code {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: rem(20);
    padding: rem(12) rem(40);
    color: var(--a-bgLight);
    background-color: var(--a-bgDark);
  }

  &__section-pre {
    display: flex;
    align-items: center;
    padding: 0;
    overflow: auto;
    white-space: pre;
  }

  &__code {
    display: flex;
    flex-shrink: 1;
  }

  &__btn {
    &-copy {
      position: absolute;
      top: 0;
      right: 0;
      display: flex;
      opacity: 0;
      transition: all 0.5s ease;

      &:hover {
        opacity: 0.5;
        transition: all 0.5s ease;
      }

      &.a-button {
        position: absolute;
        top: rem(4);
        right: rem(4);
        width: rem(30);
        height: rem(30);
      }

      .nuxt-icon {
        display: flex;
        justify-content: center;
        align-items: center;
        width: rem(24);
        height: rem(24);

        svg {
          object-fit: cover;
          width: auto;
          height: 100%;
        }
      }
    }
  }

  &__info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    margin-bottom: rem(20);

    &-text {
      margin-bottom: rem(4);
      color: var(--a-accentText);
    }
    &-code {
      margin-left: rem(16);
      margin-bottom: rem(8);
      color: var(--a-mainText);

      span {
        color: var(--a-headerText);
      }
    }

    &-link {
      font-weight: bold;
      color: var(--a-accentText);
      &:hover {
        color: var(--a-mainText);
      }
    }
  }
}
